#ifndef FONTANDBACK_H
#define FONTANDBACK_H

#include <QObject>
#include <QWidget>
#include<qdialog.h>
//数据库
#include<QSqlDatabase>
#include<QMessageBox>
#include<QSqlError>
#include<QSqlQuery>
#include<QVariantList>

QT_BEGIN_NAMESPACE
namespace Ui { class Form; }
QT_END_NAMESPACE

class fontandback : public QDialog
{
    Q_OBJECT
public:
    explicit fontandback(QWidget *parent = nullptr);
    ~fontandback();

signals:

private:
    Ui::Form* uifont;
    QString qttomp4font;
    QString filename_back;
    QString filename_logo;//暂时不用;
    int rgb_r;
    int rgb_g;
    int rgb_b;
    int rgb_r_lo;
    int rgb_g_lo;
    int rgb_b_lo;
    //数据库

    //QSqlQuery query;//出现bug
    QString exectext;
//    //运行次数:
    int yunxinnum;
//    int yunxinnum_logo;
private slots:
    void on_comboBox_activated(const QString &arg1);
    void on_pushButton_backfilebname_clicked();
    void on_pushButton_logofilename_clicked();
    void on_lineEdit_rgb1_textChanged(const QString &arg1);
    void on_lineEdit_rgb2_textChanged(const QString &arg1);
    void on_lineEdit_rgb3_textChanged(const QString &arg1);
    void on_lineEdit_zhi1_textChanged(const QString &arg1);
    void on_lineEdit_zhi2_textChanged(const QString &arg1);
    void on_lineEdit_zhi3_textChanged(const QString &arg1);
};

#endif // FONTANDBACK_H
